package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 审核主管设置
 * </p>
 *
 * @author hpiggy
 * @since 2025-11-07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("train_audit_manager_set")
@ApiModel(value = "TrainAuditManagerSet对象", description = "审核主管设置")
public class TrainAuditManagerSet implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Integer yearPart;

    private Integer quarterNum;

    private Long teacherId;

    private Integer status;

    @ApiModelProperty("部门id：例：教学部门23，市场部门27")
    private Long departmentId;

    @ApiModelProperty("1教学审核，1市场招生培训审核")
    private Integer type;

    @ApiModelProperty("教学审核时（type为1时）1：练课、2：备课")
    private Integer subType;

    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    @TableField(exist = false)
    @ApiModelProperty("审核主管名称")
    private String teacherName;

}
